//---------------------------------------------------------------------------

#ifndef unLoginH
#define unLoginH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
//---------------------------------------------------------------------------
class TFRM_LOGIN : public TForm
{
__published:	// IDE-managed Components
    TEdit *edUserID;
    TEdit *edPasswd;
    TSpeedButton *btnOK;
    TQuery *qryLogin;
    TImage *Image1;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormResize(TObject *Sender);
    void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
    void __fastcall btnOKClick(TObject *Sender);
    void __fastcall edUserIDKeyPress(TObject *Sender, char &Key);
    void __fastcall edPasswdKeyPress(TObject *Sender, char &Key);
private:	// User declarations
public:		// User declarations
    __fastcall TFRM_LOGIN(TComponent* Owner);
    bool __fastcall fnLoginCheck(void);
};
//---------------------------------------------------------------------------
extern PACKAGE TFRM_LOGIN *FRM_LOGIN;
//---------------------------------------------------------------------------
#endif
